﻿@model Kavaa.Modules.PortailMedical.Presentation.Models.MyViewModel
@using System.Web.Optimization
@using BootstrapSupport
@using NavigationRoutes

@{
    ViewBag.Title = "AccueilCabinet";
    Layout =null;
}
<!DOCTYPE html>
@if(Session["user"]!= null)
    {
<html lang="en">
    <head style="background-color:#fafafa">
      <meta charset="utf-8">
        <title>@ViewBag.Title</title>
        @*<meta name="viewport" content="width=device-width, initial-scale=1.0">*@
        <link href="@Styles.Url("~/content/css")" rel="stylesheet"/>
        <link href="@Styles.Url("~/Content/css-responsive")" rel="stylesheet" type="text/css" />
     
           
        @*@RenderSection("head", required: false)*@
        @Html.Partial("_html5shiv")
        @* favicons and touch icons go here *@
        @Scripts.Render("~/j")
    
           <div class="navbar navbar-inverse navbar-top" >
           <div class="navbar-inner">     
        </div>       
        </div>
               <div class="container">
     @{
         
         
         var prenomuser = ((Kavaa.Modules.PortailMedical.Entity.Utilisateur)(Session["user"])).Prenom;
       var nomuser = ((Kavaa.Modules.PortailMedical.Entity.Utilisateur)(Session["user"])).Name;}
          <table class="container">
              <tr>
                  <td>
            <img src="/Content/images/mediciMaroc.png" /> </td>
                  <td class="pull-right">
                      <br />
            <p style="text-align:right"><i class=" icon-user"> </i>&nbsp; &nbsp; @prenomuser  @nomuser  &nbsp; &nbsp;  @Html.ActionLink("Se déconnecter","Deconnexion")&nbsp; &nbsp; </p>
               </td>
           
        
        </tr>
        </table>
                   </div>
    </head>
   
    <body style="background-color:#fafafa">
      
        <div class="container">
            @Html.Partial("_alerts")
            @Html.Partial("_validationSummary")

<div id="result">
    

<div style="background-color:white">



   <div class="navbar">
  <div class="navbar-inner">
      <div class="container">
        <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
          <div class="nav-collapse collapse">
        <ul class="nav">
@*        <li class="icon-home" style="position:relative"></li>  *@  
      <li class="active"> @Html.ActionLink("Accueil","AccueilCabinet")</li>
      <li > @Html.ActionLink("Accréditation","Accreditation")</li>
      <li>@Html.ActionLink("Réservation","AccueilReservation")</li>
      <li><a href="#">Rapports d'interventions</a></li>
      <li>@Html.ActionLink("Comptes Cabinet","ComptesCabinet")</li>
  
    </ul>
            <form class="navbar-search pull-right">
      <i class="icon-search"></i>
  <input type="text" class="search-query" placeholder="Recherche">
</form>
  </div>
          </div>
      </div>
           
</div>
    
      <!-- Example row of columns -->
      
  @Html.Action("Dashboard","Cabinet")
  
  
    </div>


</div>
 
            <hr>
            <footer>
                <p>&copy; Kavaa @System.DateTime.Now.ToString("yyyy")</p>
            </footer> 
        </div>
      @*   @Scripts.Render("~/js")*@
        @* @RenderSection("Scripts", required: false)*@
    </body>
</html>
     }
else{
 
  <h5>  Pour pouvoir accéder à cette page veuillez vous connecter :  @Html.ActionLink("Se connecter","SignIn","test") </h5>

}









